package cn.TcpService;

public class CoilTest {
	public static void main(String[] args) {
		CoilSchedule cos[]=new CoilSchedule[4];
		for(int i=0;i<cos.length;i++){
			cos[i].setDecid(3);
			cos[i].setDelay(10000);
		    cos[i].setHost("192.168.1.122");
		    cos[i].setSwitchid(161+i);
		    cos[i].setWriteValue(true);
		}
		CoilService  cs=new CoilService(cos);
		cs.StartService();
		
	}
}
